package com.ruoyi.crm.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.sql.Timestamp;
import java.util.ArrayList;

/**
 * @author mr.huang [jie88888822@163.com]
 * @devTime 2022-06-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessDTO {
	private Long activityId;
	private Integer age;
  	private String businessId;
	private String channel;
	private String city;
	private Long courseId;
	private String createBy;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private Timestamp createTime;
	private String education;
	private String expectedSalary;
	private Integer falseCount;
	private String id;
	private String job;
	/* 沟通重点 */
	private String keyItems;
	private ArrayList<String> keyItemsArray;
	private String level;
	private String major;
	private String name;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private Timestamp nextTime;
	private String occupation;
	private String otherIntention;
	private String phone;
	private String plan;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Timestamp planTime;
	private String provinces;
	private String qq;
	private String reasons;
	private String record;
	private String region;
	private String remark;
	private String salary;
	private String sex;
	private String status;
	private String subject;
	private String trackStatus;
	private String weixin;

/*	public String getKeyItems() {
		if(this.keyItemsArray!=null && this.keyItemsArray.size()>0){
		 	return this.keyItemsArray.values().stream().map(k -> k).collect(Collectors.joining(","));
		}
		return keyItems;
	}*/
}
